projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd2aeac
)
omap3/cpu.h: add BCH support
author
Andreas Bießmann
<
[email protected]
>
Tue, 2 Apr 2013 06:05:53 +0000
(06:05 +0000)
committer
Tom Rini
<
[email protected]
>
Mon, 8 Apr 2013 15:29:05 +0000
(11:29 -0400)
This patch adds the BCH result registers to register mapping for OMAP3 gpmc.
Signed-off-by: Andreas Bießmann <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
Cc: Ilya Yanok <
[email protected]
>
Cc: Scott Wood <
[email protected]
>
Reviewed-by: Tom Rini <
[email protected]
>
arch/arm/include/asm/arch-omap3/cpu.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-omap3/cpu.h
b/arch/arm/include/asm/arch-omap3/cpu.h
index 5683e16177d253f846202fae293aad9f971c3c03..c6018739ff53e300f287f2d86a875421b3e7b0c9 100644
(file)
--- a/
arch/arm/include/asm/arch-omap3/cpu.h
+++ b/
arch/arm/include/asm/arch-omap3/cpu.h
@@
-109,6
+109,10
@@
struct gpmc_cs {
u8 res[8]; /* blow up to 0x30 byte */
};
+struct bch_res_0_3 {
+ u32 bch_result_x[4];
+};
+
struct gpmc {
u8 res1[0x10];
u32 sysconfig; /* 0x10 */
@@
-135,6
+139,8
@@
struct gpmc {
u32 ecc7_result; /* 0x218 */
u32 ecc8_result; /* 0x21C */
u32 ecc9_result; /* 0x220 */
+ u8 res7[0x1C]; /* fill up to 0x240 */
+ struct bch_res_0_3 bch_result_0_3[7]; /* 0x240 */
};
/* Used for board specific gpmc initialization */